(ns acst.config.success-config
  (:use [acst.utils.core]))

(defresult users-result
           {:login-success "登录成功"
            :logout-success "注销成功"
            :register-success "注册成功"})

(defresult articles-result
           {:delete-article-success "文章删除成功"
            :update-article-success "文章更新成功"})

(defresult activities-result
           {:insert-activity-success "活动添加成功"
            :delete-activity-success "活动删除成功"
            :update-activity-success "活动更新成功"})

(defresult forms-constraint-result
           {:create-form-constraint-success "表单约束生成成功"
            :update-form-constraint-success "表单约束更新成功"
            :delete-form-constraint-success "活动报名约束删除成功"})

(defresult entry-form-result
           {:signup-success "报名成功"})

(defresult comment-result
           {:add-comment-success "评论成功"})

(defresult memos-result
           {:delete-memo-success "留言删除成功"})

(defresult news-result
           {:delete-news-success "新闻删除成功"
            :add-news-success "新闻发布成功"})